package com.yfqy.admin.domain.entity;

import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 分类-属性关联表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CategoryAttribute {

    private Long id;

    /**
     * 分类ID
     */
    private Long categoryId;

    /**
     * 属性ID
     */
    private Long attributeId;

    /**
     * 是否必填：1是，0否
     */
    private Byte isRequired;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 0-无效，1-有效
     */
    private Byte status;

    private Long createdBy;

    private Date createdTime;

    private Long modifiedBy;

    private Date modifiedTime;
}